package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @Author: QingYingYan
 * @Date: 2025-10-20 21:15
 * @Description:
 */
public interface DishService {
    void save(DishDTO dto);

    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);

    DishVO getId(Long id);

    void upData(DishDTO dishDTO);

    void upStatus(Integer status,Long id);

    List<Dish> getByCategoryId(Long categoryId, String name);

    List<DishVO> listWithFlavor(Dish dish);
}

